Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Conversation

@NathanielRose
Copy link
Collaborator

@NathanielRose NathanielRose commented Apr 8, 2020

@andrebriggs andrebriggs marked this pull request as draft April 9, 2020 23:09
@NathanielRose NathanielRose marked this pull request as ready for review April 10, 2020 00:24
@NathanielRose NathanielRose changed the title [WIP] [INFRA] Support for local paths Nate.infra.relative paths [INFRA] Support for local paths Nate.infra.relative paths Apr 10, 2020
Copy link
Contributor

@jmspring jmspring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

describe("test checkModuleSource function", () => {
it("positive test", () => {
let res = checkModuleSource(`source="../../azure/aks-gitops"`);
expect(res).toBeTruthy();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change this to expect(res).toBe(true) instead. This article is good at explaining why: https://vincenttunru.com/toBeTruthy-vs-toBe-true/

Same for the one below.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkModuleSource is returning boolean. using is toBeTruthy is ok.

@yradsmikham
Copy link
Collaborator

Also, did we need to update the smoke tests?

@NathanielRose
Copy link
Collaborator Author

Also, did we need to update the smoke tests?

This is in a separate PR

@NathanielRose NathanielRose merged commit a40b396 into CatalystCode:master Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants